package com.linghang.demo.mapper;

import com.linghang.demo.domain.Joinus;
import com.linghang.demo.domain.JoinusExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JoinusMapper {
    long countByExample(JoinusExample example);

    int deleteByExample(JoinusExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Joinus record);

    int insertSelective(Joinus record);

    List<Joinus> selectByExample(JoinusExample example);

    Joinus selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Joinus record, @Param("example") JoinusExample example);

    int updateByExample(@Param("record") Joinus record, @Param("example") JoinusExample example);

    int updateByPrimaryKeySelective(Joinus record);

    int updateByPrimaryKey(Joinus record);
}